<include file="Public/header" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="container">

<form class="form-horizontal" method="post" enctype="multipart/form-data" action="{:(practicesinsert)}">
    <!--隐藏id-->
    <input type="hidden" name="pid">
    <div class="form-group">
        <label for="name" class="col-md-2 control-label">活动名称</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="name" name="name">
        </div>
    </div>
    <!-- 
    <div class="form-group">
        <label for="groupname" class="col-md-2 control-label">主办社团</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="groupname" name="groupname">
        </div>
    </div>
     -->
    <div class="form-group">
        <label for="groupname" class="col-md-2 control-label">主办社团</label>
        <div class="col-md-5">
			<select class="form-control">
			<volist name="groups" id="list">
				<option value="{$list.groupname}">{$list.groupname}</option>
			</volist>
			</select>	
        </div>
    </div>
    

 <!--<div class="form-group">
        <label for="puser" class="col-md-2 control-label">发布人 </label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="puser" name="puser">
        </div>
    </div>
    -->	  
    <div class="form-group">
        <label for="ptime" class="col-md-2 control-label">活动时间 </label>
        <div class="col-md-5">
            <input type="date" class="form-control" id="ptime" name="ptime">
        </div>
    </div>
    
    <div class="form-group">
        <label for="place" class="col-md-2 control-label">活动地点</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="place" name="place">
        </div>
    </div>

    <div class="form-group">
        <label for="intro" class="col-md-2 control-label">活动介绍</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="intro" name="intro">
        </div>
    </div>

    <div class="form-group">
        <label for="pfile" class="col-md-2 control-label">附件</label>
        <div class="col-md-2">
            <input type="file" id="pfile" name="pfile">
        </div>
    </div>
    
    <div class="form-group">
        <label for="matters" class="col-md-2 control-label">注意事项</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="matters" name="matters">
        </div>
    </div>

    <div class="col-md-4 col-md-offset-5">
  		<button type="submit" name="submit" class="btn btn-default">添加</button>
        <button type="reset" name="reset" class="btn btn-default">重置</button>
        <a href="userList"><button type="button" class="btn btn-default">返回</button></a>
    </div>

</form>
</div>

<include file="Public/footer" />